google.golang.org/protobuf/reflect/protoreflect.value.typ (field)
25 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
value_union.go#L124: return Value{typ: boolType, num: 1}
value_union.go#L126: return Value{typ: boolType, num: 0}
value_union.go#L132: return Value{typ: int32Type, num: uint64(v)}
value_union.go#L137: return Value{typ: int64Type, num: uint64(v)}
value_union.go#L142: return Value{typ: uint32Type, num: uint64(v)}
value_union.go#L147: return Value{typ: uint64Type, num: v}
value_union.go#L152: return Value{typ: float32Type, num: uint64(math.Float64bits(float64(v)))}
value_union.go#L157: return Value{typ: float64Type, num: uint64(math.Float64bits(float64(v)))}
value_union.go#L172: return Value{typ: enumType, num: uint64(v)}
value_union.go#L192: return v.typ != nilType
value_union.go#L199: switch v.typ {
value_union.go#L228: switch v.typ {
value_union.go#L271: switch v.typ {
value_union.go#L281: switch v.typ {
value_union.go#L291: switch v.typ {
value_union.go#L301: switch v.typ {
value_union.go#L312: switch v.typ {
value_union.go#L322: switch v.typ {
value_union.go#L332: switch v.typ {
value_union.go#L372: switch v.typ {
value_unsafe.go#L62: typ unsafe.Pointer // 8B
value_unsafe.go#L77: return Value{typ: stringType, ptr: p.Data, num: uint64(len(v))}
value_unsafe.go#L81: return Value{typ: bytesType, ptr: p.Data, num: uint64(len(v))}
value_unsafe.go#L85: return Value{typ: p.Type, ptr: p.Data}
value_unsafe.go#L97: *(*ifaceHeader)(unsafe.Pointer(&x)) = ifaceHeader{Type: v.typ, Data: v.ptr}